package com.woniuxy.kaer.tenants.from;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;
import java.time.LocalTime;

@Data
@ApiModel("完善商家信息jOSN参数")
public class RefineTenantsInfoFrom {
    @ApiModelProperty("店铺名称")
    private String shopName;
    @ApiModelProperty("商家id")
    private Integer founderId;
    /**
     * 店铺电话
     */
    @ApiModelProperty("店铺电话")
    private String shopMobile;
    /**
     * 店铺评分
     */
    @ApiModelProperty("店铺评分")
    private Double shopScore;
    @ApiModelProperty("店铺地址")
    private String address;
    @ApiModelProperty("店铺经度")
    private String shopLongitude;

    /**
     * 预留字段
     */
    @ApiModelProperty("店铺纬度")
    private String shopLatitude;
    @ApiModelProperty("店铺logo")
    private MultipartFile shopLogo;

    /**
     * 服务次数
     */
    @ApiModelProperty("服务次数")
    private Integer serviceCount;
    @ApiModelProperty("营业时间（周几）")
    private String businessDate;

    /**
     * 营业开始时间
     */
    @DateTimeFormat(pattern = "HH:mm")
    @ApiModelProperty("营业开始时间")
    private LocalTime businessStartTime;
    @ApiModelProperty("营业结束时间")
    @DateTimeFormat(pattern = "HH:mm")
    private LocalTime businessEndTime;

    /**
     * 店铺状态0.禁用 1.启用
     */
    @ApiModelProperty("店铺状态0.禁用 1.启用")
    private Integer shopState;
    @ApiModelProperty("联系人电话")
    private String contactPhone;
    @ApiModelProperty("联系人")
    private String contactPerson;

    /**
     * 店铺特点
     */
    @ApiModelProperty("店铺特点")
    private String shopFeature;
    @ApiModelProperty("创建时间")
    private LocalDateTime firstTime;
}
